package com.base.service;

import java.io.File;
import java.util.List;

import com.base.bean.Cardinfo;
import com.common.util.PagerModel;

public interface CardinfoService {
	public void addCardinfo(Cardinfo cardinfo);
	
	public void addCardinfoFromExcel(File file);
	
	public void removeCardinfo(String cardno);
	
	public void updateCardinfo(Cardinfo cardinfo);
	
	public Cardinfo findCardinfo(String cardno);
	
	public List<Cardinfo> findAllCardinfo();
	
	public PagerModel findCardinfoForPager();
	
	public PagerModel findCardinfoForPagerWithBelongto(String Belongto/*所属单据*/,
			long datadictByStatustypeid/*卡状态*/,long cardsubtypeno/*子卡类型*/,String deptcode/*所属部门*/);
	
	public PagerModel findCardinfoForPagerWith(long datadictByBasetypeid/*基本类型*/,
			long datadictByAreatypeid/*地域类型*/,long datadictByFuntypeid/*功能类型*/,
			long datadictByStatustypeid/*卡状态*/,long money/*面额*/,
			long cardsubtypeno/*子卡类型*/,String deptcode/*所属部门*/);
	
	public PagerModel findCardinfoForPagerWithBelongto(String Belongto/*所属单据*/,
			long datadictByStatustypeid/*卡状态*/,String deptcode/*所属部门*/);
}
